<script setup>
import { onMounted } from 'vue'
onMounted(() => {
})
</script>

<template>
  <router-view v-slot="{ Component, route }">
    <keep-alive>
      <component
        :is="Component"
        :key="route.path"
        v-if="route.meta.keepAlive"
      />
    </keep-alive>
    <component :is="Component" v-if="!route.meta.keepAlive" />
  </router-view>
</template>

<style lang="less">
* {
  -webkit-user-select: text !important;
  user-select: text !important;
}
a {
  color: rgb(0, 0, 238);
}
a:visited {
  color: rgb(0, 0, 238);
}
ol {
  padding-left: 30px;
  list-style: auto;
}
ul {
  padding-left: 30px;
  list-style: disc;
}
#evalutepop,
#lanpop {
  width: 600px;
  border-radius: 8px;
  padding: 30px;
  .btn {
    width: 200px;
    height: 52px;
    margin: 0 auto;
    line-height: 52px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 33px;
    background: #5496f2;
    cursor: pointer;
  }
  .form {
    margin-bottom: 20px;
    .tags {
      font-size: 16px;
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 10px;
      .tag {
        background-color: #f4f4f4;
        border-radius: 20px;
        padding: 10px 20px;
        margin-right: 10px;
        margin-bottom: 10px;
        cursor: pointer;
      }
      .active {
        background-color: #4890c9;
        color: white;
      }
    }
    .item {
      color: #c9c9cc;
      font-size: 16px;
      input {
        width: 100%;
        height: 50px;
        border: none;
        border-bottom: 1px solid #c9c9cc;
        color: #222;
      }
    }
  }
}
#refpop {
  height: 100%;
  width: 500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  font-size: 16px;

  .info {
    flex: 1;
    overflow: auto;
    white-space: pre-wrap;
    p {
      line-height: 1.5;
    }
    img {
      width: 100%;
      height: auto;
    }
  }
  .van-icon {
    font-size: 16px;
    top: 5px;
    right: 5px;
    color: #444;
  }
}
#apppop {
  width: 600px;
  height: 444px;
  border-radius: 8px 8px 0px 0px;
  overflow: hidden;
  .apps {
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #546275;
    display: flex;
    flex-direction: column;
    .header {
      height: 68px;
      background: linear-gradient(90deg, #f0f9ff 0%, #d5e6fd 100%);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 21px 32px;
      img {
        width: 120px;
        height: 30px;
      }
    }
    .w {
      flex: 1;
      padding: 24px 45px 16px;
      overflow: auto;
      .app {
        width: 60px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 16px;
        margin-right: 52px;
        cursor: pointer;
        img {
          width: 38px;
          margin-bottom: 12px;
        }
        span {
          text-align: center;
          width: 100%;
        }
      }
      .app:nth-child(5n) {
        margin-right: 0;
      }
    }
  }
  .van-icon {
    font-size: 16px;
    top: 26px;
    right: 21px;
    color: #444;
  }
}
#knowledgepop {
  width: 600px;
  height: 444px;
  border-radius: 8px 8px 0px 0px;
  overflow: hidden;
  .knowledges {
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #546275;
    display: flex;
    flex-direction: column;
    .header {
      height: 68px;
      background: linear-gradient(90deg, #f0f9ff 0%, #d5e6fd 100%);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 21px 32px;
      img {
        width: 120px;
        height: 30px;
      }
    }
    .w {
      flex: 1;
      padding: 12px 16px;
      overflow: auto;
      display: flex;
      flex-direction: column;
      .type {
        display: flex;
        align-items: center;
        color: #666;
        position: relative;
        .tags {
          flex: 1;
          overflow-x: scroll;
          display: flex;
          align-items: center;
          flex-wrap: nowrap;
          position: relative;
          cursor: pointer;
          height: 28px;
          line-height: 28px;
          .tag {
            padding: 0 20px;
            word-break: keep-all;
            white-space: nowrap;
            margin-right: 20px;
            border-radius: 14px;
            color: #546275;
            background-color: #eef5fc;
            position: relative;
            font-size: 16px;
          }
          .act {
            color: #546275;
            background-color: rgba(10, 46, 238, 0.1);
          }
          .tag:last-child {
            margin-right: 0;
          }
        }
        .tags:hover::-webkit-scrollbar {
          width: 0;
          height: 0;
        }
      }
      .lists {
        width: 100%;
        color: #546275;
        font-size: 14px;
        flex: 1;
        margin-top: 4px;
        overflow: auto;
        .c {
          margin-top: 16px;
          cursor: pointer;
        }
      }
    }
  }
  .van-icon {
    font-size: 16px;
    top: 26px;
    right: 21px;
    color: #444;
  }
}
</style>
